﻿	

#region Using Directives
using System;
using System.ComponentModel;
using System.Collections;
using System.Xml.Serialization;
using System.Data;

using NetROS.Tiers.Entities;
using NetROS.Tiers.Entities.Validation;

using NetROS.Tiers.Data;
using Microsoft.Practices.EnterpriseLibrary.Logging;
using NetROS.Tiers.Services;

#endregion

namespace NetROS.Tiers.Services
{		
	
	///<summary>
	/// An component type implementation of the 'tblDokumentStavka' table.
	///</summary>
	/// <remarks>
	/// All custom implementations should be done here.
	/// </remarks>
	[CLSCompliant(true)]
	public partial class DokumentStavkaService : NetROS.Tiers.Services.DokumentStavkaServiceBase
	{
		/// <summary>
		/// Initializes a new instance of the DokumentStavkaService class.
		/// </summary>
		public DokumentStavkaService() : base()
		{
		}

		
	}//End Class

    


} // end namespace


//namespace NetROS.Tiers.Processors
//{
//    public class DokumentStavkaproc : ProcessorBase
//    {
//        private DokumentStavka Entity;
//        private GenericProcessorResult genericProcessorResult;


//        public DokumentStavkaproc(DokumentStavka entity)
//        {
//            if (Entity == null) throw new ArgumentNullException("order");
//            this.Entity = entity;
//        }

//        public override IProcessorResult Process()
//        {
//            try
//            { ///Add custom validation rules for this processor order.AddInventoryRules();

//                DokumentStavkaService dss = new DokumentStavkaService();

//                foreach (OrderDetails item in order.OrderDetailsCollection)
//                {
//                    item.ProductIDSource = products.Get(new ProductsKey(item.ProductID));
//                }

//                if (Entity.N_Vrijednost == 100) ProcessResult.AddBrokenRulesList(typeof(DokumentStavka), Entity.BrokenRulesList);
//            }
//            catch (Exception exc) { if (DomainUtil.HandleException(exc, "NoneExceptionPolicy")) throw; }

//            return ProcessResult;
//        } /// /// ProcessResult of this current process to check Inventory on the Order /// 
//          /// 
//        public override IProcessorResult ProcessResult
//        {
//            get
//            {
//                if (genericProcessorResult == null)
//                { genericProcessorResult = new GenericProcessorResult(); }
//                return genericProcessorResult;
//            }
//        }
//    }
//}
